//
//  WJCSiftModel.h
//  辅城
//
//  Created by WJC on 2017/3/6.
//  Copyright © 2017年 吴 剑川. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "tableObj.h"
@interface WJCSiftModel : NSObject<NSCopying,NSMutableCopying>
/**回调Id*/
@property (nonatomic,strong)NSString *Id;
/**展示名称*/
@property (nonatomic,strong)NSString *Name;
/**副标题*/
@property (nonatomic,strong)NSString *detail;
/**副标题*/
@property (nonatomic,strong)NSString *placeHolder;
/**展示类型*/
@property (nonatomic,strong)NSString *mode;
/**展示类型*/
@property (nonatomic,strong)NSString *Icon;
/**展示类型*/
@property (nonatomic,strong)NSString *Ordering;
/**展示类型*/
@property (nonatomic,strong)NSString *PublishTime;
/** 字体颜色 */
@property (nonatomic,strong) UIColor *color;
@property (nonatomic,assign) UIKeyboardType keyboardType;
@property (nonatomic,assign) cellItemType itemType;
@property (nonatomic,strong) id others;
@property (assign, nonatomic ,getter=isSpread) BOOL spread;//是展开
/** 是否可选 */
@property (nonatomic, assign) BOOL choiced;
/** 是否单选*/
@property (nonatomic, assign) BOOL singleChoice;
/** 父类关联子类选中*/
@property (nonatomic, assign) BOOL notUnionChoice;
@property (nonatomic,strong) NSMutableArray<WJCSiftModel*> *subArr;
#pragma mark - 仅适用FCTableListCell配置
/** 宽度 */
@property (nonatomic, assign) CGFloat width;
/** 高度 */
@property (nonatomic, assign) CGFloat height;
/** 宽度比例 (0 < widthScale < 1, 同行宽度比例相加和为 1)*/
@property (nonatomic, assign) CGFloat widthScale;
/** 水平间距 */
@property (nonatomic, assign) NSInteger horizontalPadding;

/** 是否不可编辑 */
@property (nonatomic, assign) BOOL cantEdit;
/** 是否可编辑 */
@property (nonatomic, assign) BOOL isEdit;
/** setmodel后重载cell(换行或者重新布局时候用)*/
@property (nonatomic, assign) BOOL setfit;;
@property (nonatomic,strong) NSString *parameter;

    //FCTableCellImgChoiceCell专用,用于图片选择一行占有图片数
    @property (nonatomic,assign) NSInteger maxPerCount;
        //FCTableCellImgChoiceCell专用,用于隐藏选择图片关闭按钮
    @property (nonatomic,assign) BOOL hiddenCloseBtn;
    //FCTableCellImgChoiceCell专用,用于隐藏添加图片关闭按钮
        @property (nonatomic,assign) BOOL hiddenAddBtn;
@property (nonatomic,assign) NSInteger maxCount;
+(WJCSiftModel*)setModel:(NSString*)name :(NSString*)Id :(cellItemType)type;
@end
